package com.ruoyi.btlfbreed.service;

import java.util.List;

import com.ruoyi.btlfbreed.domain.MyTbChickenGrowData;
import com.ruoyi.btlfbreed.domain.TbChickenGrowthRecords;

/**
 * 肉鸡成长记录Service接口
 * 
 * @author codeman
 * @date 2024-05-07
 */
public interface ITbChickenGrowthRecordsService 
{
    /**
     * 查询肉鸡成长记录
     * 
     * @param recordId 肉鸡成长记录主键
     * @return 肉鸡成长记录
     */
    public TbChickenGrowthRecords selectTbChickenGrowthRecordsByRecordId(Long recordId);

    /**
     * 查询肉鸡成长记录列表
     * 
     * @param tbChickenGrowthRecords 肉鸡成长记录
     * @return 肉鸡成长记录集合
     */
    public List<TbChickenGrowthRecords> selectTbChickenGrowthRecordsList(TbChickenGrowthRecords tbChickenGrowthRecords);

    /**
     * 新增肉鸡成长记录
     * 
     * @param tbChickenGrowthRecords 肉鸡成长记录
     * @return 结果
     */
    public int insertTbChickenGrowthRecords(TbChickenGrowthRecords tbChickenGrowthRecords);

    /**
     * 修改肉鸡成长记录
     * 
     * @param tbChickenGrowthRecords 肉鸡成长记录
     * @return 结果
     */
    public int updateTbChickenGrowthRecords(TbChickenGrowthRecords tbChickenGrowthRecords);

    /**
     * 批量删除肉鸡成长记录
     * 
     * @param recordIds 需要删除的肉鸡成长记录主键集合
     * @return 结果
     */
    public int deleteTbChickenGrowthRecordsByRecordIds(Long[] recordIds);

    /**
     * 删除肉鸡成长记录信息
     * 
     * @param recordId 肉鸡成长记录主键
     * @return 结果
     */
    public int deleteTbChickenGrowthRecordsByRecordId(Long recordId);

    public List<MyTbChickenGrowData> getMonthSumGrowData(String year, String chickenNo);
    public List<MyTbChickenGrowData> getMonthAvgGrowData(String year);

}
